<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE html>
<html>
	<head>
		<base href="<%=basePath %>">
		<meta charset="utf-8">
		<title>物流订单系统</title>
		<meta name="viewport" content="width=device-width, initial-scale=1.0">
		<meta http-equiv="X-UA-Compatible" content="ie=edge">
		<link rel="stylesheet" href=css/bootstrap.min.css>
		
	</head>
	<c:remove var="login_driver" scope="session"/>
	<body >
		<%@include file="/header.jsp" %>
		<div class="container">
		<h1>司机登录</h1>
		<hr />
		<form class="form-horizontal" method="post" action="driver/login">
		  <div class="form-group">
		    <label for="inputEmail3" class="col-sm-2 control-label">手机号：</label>
		    <div class="col-sm-10">
		      <input type="text" class="form-control" id="inputEmail3" name="mobile" placeholder="手机号">
		    </div>
		  </div>
		  <div class="form-group">
		    <label for="inputPassword3" class="col-sm-2 control-label">密码：</label>
		    <div class="col-sm-10">
		      <input type="password" class="form-control"  name="password" id="inputPassword3" placeholder="密码">
		    </div>
		  </div>
		  <div class="form-group">
		    <div class="col-sm-offset-2 col-sm-10">
		      <span>${error }</span>
		      <c:remove var="error" scope="session"/>
		    </div>
		  </div>
		  <div class="form-group">
		    <div class="col-sm-offset-2 col-sm-10">
		      <button type="submit" class="btn btn-primary">登 录</button>
		    </div>
		  </div>
		</form>
		</div>
	</body>
</html>
